package com.aaa.project.zhreport.service.impl;

import com.aaa.project.zhreport.domain.YwfxDataSources;
import com.aaa.project.zhreport.mapper.YwfxDataSourcesMapper;
import com.aaa.project.zhreport.service.YwfxDataSourcesService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Collections;
import java.util.List;

/**
 * @author baibin
 * @version 1.0
 * @date 2025/4/8 17:29
 * @description YwfxDataSourcesServiceImpl
 */
@Service
public class YwfxDataSourcesServiceImpl implements YwfxDataSourcesService {

    private static final Logger log = LoggerFactory.getLogger(YwfxDataSourcesServiceImpl.class);

    @Resource
    private YwfxDataSourcesMapper mapper;

    @Override
    public List<YwfxDataSources> listPage(YwfxDataSources query) {
        log.info("listPage query:{}", query);
        return mapper.listPage(query);
    }
}
